package com.zuoye.experiment2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author coolwen
 * @since 2024-05-08 16:35:27
 */
@Getter
@Setter
@Data
@Accessors(chain = true)
@TableName("t_skills")
public class Skills {

      @TableId(value = "skill_id", type = IdType.AUTO)
    private Integer skillId;

    @TableField("hero_id")
    private Integer heroId;

    @TableField("skill_name")
    private String skillName;

    @TableField("skill_description")
    private String skillDescription;

    @TableField("skill_type")
    private String skillType;

    @TableField("skill_cooldown")
    private Integer skillCooldown;

    @TableField("skill_range")
    private String skillRange;

    @TableField("skill_damage")
    private String skillDamage;

    @TableField("skill_effects")
    private String skillEffects;

    @TableField(value = "`name`", exist = false)
    private String name;

    @TableField(value = "`description`", exist = false)
    private String description;
}
